package com.neu.his.entity;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class Drug extends Base {
    private String drugName;
    private BigDecimal drugPrice;
    private String drugUnit;
    private String drugCode;
    private int drugNum;

    @TableField(exist = false)
    private List<DrugDisturb> drugDisturbList;

    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }
}
